﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Settings
{
    public struct Constants
    {
        public const int MaxQueueSize = 1000;
        public const int MinQueueSize = 0;
        public const int BatchSize = 200;
        public const int timedout = 1000;
        public const int Delaytime = 3000;
    }

    public struct Status
    {
        public const string PENDING = "PENDING";
        public const string APPROVED = "APPROVED";
        public const string RUNNING = "RUNNING";
        public const string FINISHED = "FINISHED";
        public const string TIMEOUT = "TIMEOUT";
        public const string EXCEPTION = "EXCEPTION";
        public const string SENT_GATEWAY = "SENT_GATEWAY";
        public const string OUT_OF_LIMIT = "OUT_OF_LIMIT";
        public const string FAIL_GATEWAY = "FAIL_GATEWAY";
        public const string BANNED = "BANNED";
    }

    public enum ActionId
    {
        [Description("Gửi tin khi có tin nhắn đến")]
        WhenMessageReceived = 1,
        [Description("Gửi tin hẹn giờ")]
        SchedulingSentSMS = 2
    }
}
